package com.literaryfamily.literaryfamily.entity;

import java.math.BigDecimal;
import java.util.Date;

public class DiscountPrice {
    private BigDecimal maxAmount;

    private Double discount;

    private Date getTime;

    private Integer userId;

    private String getType;

    private Boolean isUse;

    private Date expirationTime;

    private Boolean isOnly;

    public BigDecimal getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(BigDecimal maxAmount) {
        this.maxAmount = maxAmount;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Date getGetTime() {
        return getTime;
    }

    public void setGetTime(Date getTime) {
        this.getTime = getTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getGetType() {
        return getType;
    }

    public void setGetType(String getType) {
        this.getType = getType == null ? null : getType.trim();
    }

    public Boolean getIsUse() {
        return isUse;
    }

    public void setIsUse(Boolean isUse) {
        this.isUse = isUse;
    }

    public Date getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {
        this.expirationTime = expirationTime;
    }

    public Boolean getIsOnly() {
        return isOnly;
    }

    public void setIsOnly(Boolean isOnly) {
        this.isOnly = isOnly;
    }
}